package com.cskaoyan.catmall.dao;

import com.cskaoyan.catmall.model.vo.TopicGoodsVo;
import com.cskaoyan.catmall.model.vo.TopicVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WxTopicMapper {


    TopicGoodsVo getGoodsById(Integer goodsId);

    List<Integer> getIds();

    List<TopicVo> getListByPageAndLimit(@Param("start") Integer start, @Param("limit") Integer limit);

    Integer getAllByDeleted();

    List<TopicVo> getTopicById(@Param("start") Integer start, @Param("limit2") Integer limit2);

    TopicVo getTopicsById(Integer id);
}
